import request from '@/utils/request'

export function middleList(data) {
    return request({
        url: '/duzikai_api_mgr_public_middle_table',
        method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        data
    })
}

/**
 * banner操作相关
 * @param {*} data
 * @returns
 */
export const bannerMiddleList = (data) => {
    return request({
        url: '/duzikai_api_mgr_public_front_page',
        method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        data
    })
}

export const courseMiddleList = (data) => {
    return request({
            url: '/duzikai_api_mgr_public_goods_info',
            method: 'post',
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            },
            data
        })
        // https://115292928app8001.downline.cn/duzikai_api_mgr_public_goods_info
}
